/**
 * 
 */
package com.cipe.cmrs.service;

import org.springframework.stereotype.Service;

import com.cipe.cmrs.model.Modificationtype;

/**
 * @author Incepio
 * 
 */
@Service
public class ModificationTypeService extends BaseService<Modificationtype> {
	public Modificationtype getModificationTypeByCodeOrName(String code) {
		return dao.getSingleResult("FROM Modificationtype WHERE modificationTypeName = '" + code + "'");
	}
}
